home *** CD-ROM | disk | FTP | other *** search
/ NOVA - For the NeXT Workstation / NOVA - For the NeXT Workstation.iso / SourceCode / MiniExamples / PerformanceTuning / VisibleView-01 / Appender.h next >
Encoding:
Text File  |  1991-09-18  |  433 b   |  23 lines

  1. //
  2. //    An Object to Append Text to IB's Default ScrollView
  3. //    Randy Nelson—Copyright NeXT 1990
  4. //    Not for release or reuse
  5. //
  6.  
  7. #import <objc/Object.h>
  8.  
  9. @interface Appender:Object
  10. {
  11.     id    scrollView;
  12.     id docView;
  13. }
  14.  
  15. //initializes the outlet
  16. - setScrollView:anObject;
  17. //prints the doc view of the scroll view
  18. - print:sender;
  19. //appends the string passed to the doc view of the scroll view
  20. - appendToText:(const char *)newText;
  21.  
  22. @end
  23.